//
//  OBNavigationControllerStack.h
//  XZXSchool
//
//  Created by obally on 2017/10/23.
//  Copyright © 2017年 obally. All rights reserved.
//

#import <Foundation/Foundation.h>

@protocol OBViewModelServices;
@interface OBNavigationControllerStack : NSObject
//返回一个新的导航控制器stack
- (instancetype)initWithServices:(id<OBViewModelServices>)services;
//push 导航控制器
- (void)pushNavigationController:(UINavigationController *)navigationController;
//返回popped的那个导航控制器
- (UINavigationController *)popNavigationController;
//返回stack里的top导航控制器
- (UINavigationController *)topNavigationController;
@end
